import request from '../utils/request'

export function getPets() {
    return request({
        url: '/api/pet/all',
        method: 'get',
    })
}
export function updatePet(params) {
    return request({
        url: '/api/pet/update',
        method: 'put',
        data: params
    })
}
export function addPet(params) {
    return request({
        url: '/api/pet/add',
        method: 'put',
        data: params
    })
}
export function deletePet(params) {
    return request({
        url: '/api/pet/delete',
        method: 'delete',
        data: params
    })
}
